<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


class Collecttion extends Model {

	//
	protected $table = 'collecttion';

	public function project()
	{
		return $this->hasOne("App\Models\Projects", "id", "relate_id");
	}

	public function device()
	{
		return $this->hasOne("App\Models\Devices", "id", "relate_id");
	}

	public function tech()
	{
		return $this->hasOne("App\Models\Technologies", "id", "relate_id");
	}

}
